<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>编辑宿舍信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="css/backmain.css" type="text/css"></link>
	<link rel="stylesheet" href="css/backeditor.css" type="text/css"></link>
	<script src="js/time/calendar3.js" type="text/javascript"></script>
	<script charset="utf-8" src="js/editor/kindeditor-min.js"></script>
	<script>
        var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[id="content"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'source', '|', 'fullscreen', '|', 'plainpaste','|', 'fontname', 'fontsize', 'forecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'link']
				});
			});
	</script>
  </head>
  
  <body>
    <div class="right_div">
    	<div class="right_top">
    		<div class="titlebt1">编辑宿舍楼信息</div>
    	</div>
    	<div class="right_main">
    		<div><span class="inputmessage">${message}</span></div>
    		<form method="post" action="saveBuilds.action">
    			<table class="add_table">
    				<tr>
    					<td width="3%">&nbsp;</td>
    					<td width="10%">宿舍楼名称<span class="required_info">*</span>：</td>
    					<td width="90%">
    						<input name="shBuild.bname" type="text" class="input_text" value="${shBuild.bname}"/>
    					</td>
    				</tr>
    				<tr>
    					<td>&nbsp;</td>
    					<td>&nbsp;</td>
    					<td>
    						<input type="hidden" name="shBuild.bid" value="${shBuild.bid}" />
    						<input type="reset" class="btn" value="重置">
    						<input type="submit" class="btn" value="保存">
    					</td>
    				</tr>
    			</table>
    		</form>
    	</div>
    </div>
  </body>
</html>
